<%@ page contentType="text/html; charset=Windows-31J" language="java" %>
<%@ include file="../inc/common.jsp" %>

<html:html locale="true">
<HEAD>
	<html:base/>
	<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
	<TITLE><%=Globals.get("WEB_PAGETITLE")%></TITLE>
</HEAD>
<BODY BGCOLOR=<%=Globals.get("WEB_BODY_BGCOLOR")%> LINK=<%=Globals.get("WEB_BODY_LINK")%> VLINK=<%=Globals.get("WEB_BODY_VLINK")%>>
<html:form action="/dailyReport_rm_completion" target="sub">
<CENTER>
<BR><H4>
日報削除確認画面
</H4><HR><BR>
</CENTER>
<html:hidden name="DoDailyReportActionForm" property="dailyReportId" />
<TABLE cellpadding="1" cellspacing="1" border="1">
<TR>
	<TH ALIGN="left">氏名</TH>
	<TD><bean:write name="staff" property="name" /></TD>
</TR>
<TR>
	<TH ALIGN="left">作業日</TH>
	<TD>
		<bean:write name="DoDailyReportActionForm" property="workDateY" />年
		<bean:write name="DoDailyReportActionForm" property="workDateM" />月
		<bean:write name="DoDailyReportActionForm" property="workDateD" />日
	</TD>
</TR>
<TR>
	<TH ALIGN="left">作業時間</TH>
	<TD>
		<bean:write name="DoDailyReportActionForm" property="workingStartHoursH" />時
		<bean:write name="DoDailyReportActionForm" property="workingStartHoursM" />分 ～ 
		<bean:write name="DoDailyReportActionForm" property="workingEndHoursH" />時
		<bean:write name="DoDailyReportActionForm" property="workingEndHoursM" />分
	</TD>
</TR>
</TABLE><BR>

<B>●作業内容</B>
<TABLE border="1">
<TR>
	<TH>ﾌﾟﾛｼﾞｪｸﾄ名</TH>
	<TH>作業項目</TH>
	<TH>作業時間(h)</TH>
	<TH>項目区分</TH>
</TR>
<logic:iterate id="workItemList1" name="workItemList" indexId="index">
<TR>
	<TD>
		<bean:define id="projectId1" name="workItemList1" property="projectId" type="java.lang.Integer" />
		<logic:iterate id="projects" name="projectList">
			<bean:define id="projectId2" name="projects" property="projectId" type="java.lang.Integer" />
			<bean:define id="projectName" name="projects" property="name" />
			<%if(projectId1.intValue()==projectId2.intValue())%><%=projectName%><%;%>
		</logic:iterate>
	</TD>
	<TD>
		<bean:write name="workItemList1" property="name" />
	</TD>
	<TD align="right">
		<bean:define id="workItemId1" name="workItemList1" property="workItemId" type="java.lang.Integer" />
		<logic:iterate id="dailyReportWorkItem1" name="dailyReportWorkItem">
			<bean:define id="workItemId2" name="dailyReportWorkItem1" property="workItemId" type="java.lang.Integer" />
			<%if(workItemId1.intValue()==workItemId2.intValue()){%>
				<bean:write name="dailyReportWorkItem1" property="workingHours" /> h
			<%}%>
		</logic:iterate>
	</TD>
	<TD>
		<logic:equal name="workItemList1" property="addStaffId" value="0">線表項目</logic:equal>
		<logic:notEqual name="workItemList1" property="addStaffId" value="0">ﾕｰｻﾞ追加項目</logic:notEqual>
	</TD>
</TR>
</logic:iterate>
</TABLE><BR>

<TABLE border="1">
<TR>
	<TH ALIGN="left" colspan="2">作業時間合計</TH>
	<TD align="right"><bean:write name="DoDailyReportActionForm" property="totalWorkingHours" /> h</TD>
</TR>
</TABLE><BR>

<TABLE border="0">
<TR><TH ALIGN="left">●作業内容詳細</TH></TR>
<TR><TD><pre><bean:write name="DoDailyReportActionForm" property="workDetail" /></pre></TD></TR>
</TABLE><BR>

<B>●進行状況</B>
<TABLE border="1">
<TR>
	<TH>ﾌﾟﾛｼﾞｪｸﾄ名</TH>
	<TH>作業項目</TH>
	<TH>完成度(%)</TH>
	<TH>項目区分</TH>
</TR>
<logic:iterate id="workItemList2" name="workItemList" indexId="index">
<TR>
	<TD>
		<bean:define id="projectId1" name="workItemList2" property="projectId" type="java.lang.Integer" />
		<logic:iterate id="projects" name="projectList">
			<bean:define id="projectId2" name="projects" property="projectId" type="java.lang.Integer" />
			<bean:define id="projectName" name="projects" property="name" />
			<%if(projectId1.intValue()==projectId2.intValue())%><%=projectName%><%;%>
		</logic:iterate>
	</TD>
	<TD>
		<bean:write name="workItemList2" property="name" />
	</TD>
	<TD align="right">
		<bean:define id="workItemId1" name="workItemList2" property="workItemId" type="java.lang.Integer" />
		<logic:iterate id="dailyReportWorkItem2" name="dailyReportWorkItem">
			<bean:define id="workItemId2" name="dailyReportWorkItem2" property="workItemId" type="java.lang.Integer" />
			<%if(workItemId1.intValue()==workItemId2.intValue()){%>
				<bean:write name="dailyReportWorkItem2" property="completeness" /> %
			<%}%>
		</logic:iterate>
	</TD>
	<TD>
		<logic:equal name="workItemList2" property="addStaffId" value="0">線表項目</logic:equal>
		<logic:notEqual name="workItemList2" property="addStaffId" value="0">ﾕｰｻﾞ追加項目</logic:notEqual>
	</TD>
</TR>
</logic:iterate>
</TABLE><BR>

<TABLE border="0">
<TR><TH ALIGN="left">●問題点</TH></TR>
<TR><TD><pre><bean:write name="DoDailyReportActionForm" property="problem" /></pre></TD></TR>
</TABLE><BR>

<TABLE border="0">
<TR><TH ALIGN="left">●TODO</TH></TR>
<TR><TD><pre><bean:write name="DoDailyReportActionForm" property="toDo" /></pre></TD></TR>
</TABLE><BR>

<TABLE border="0">
<TR><TH ALIGN="left">●感想</TH></TR>
<TR><TD><pre><bean:write name="DoDailyReportActionForm" property="comment" /></pre></TD></TR>
</TABLE>
<BR><BR>

<TABLE border="0">
<TR><TD><html:submit property="rm" value="削除" /></TD></TR>
</TABLE>
</html:form>
<BR>
<H5><html:link forward="site_top" target="_parent">TOPに戻る</html:link></H5>
</BODY>
</html:html>
